package com.security.securitystudent.WebController;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping
@Slf4j
public class MsgController {
    @GetMapping("/to_login")
    public String msg(){
        log.info("跳转到登录页");
        return "login";
    }


}
